import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/stuList',
    name: 'stuList',
    component: () => import('../views/StudentList.vue')
  },
]

const router = new VueRouter({
  mode:'history',
  routes
})

export default router
